import 'package:flutter/material.dart';
import 'package:xiongan_app_yy/widgets/comm/left_icon_widget.dart';

//检查新版本
class NewVersionPage extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    return NewVersionState();
  }
}

class NewVersionState extends State<NewVersionPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: new AppBar(
        backgroundColor: Color(0XFF00A5F1),
        automaticallyImplyLeading: false, //设置没有返回按钮
        title: Text(
          "检查新版本",
          style: TextStyle(fontSize: 18),
        ),
        elevation: 0,
        centerTitle: true,
        leading: LeftIconWidget(icon: Icons.chevron_left, isize: 36),
      ),
      body: Column(
          children: <Widget>[
            Container(
              width: double.infinity,
              height: 60,
              margin: EdgeInsets.only(left: 10,right: 10,top: 50),
              child: new ClipRRect(
                borderRadius: BorderRadius.circular(10),
                child:  Container(
                  color: Colors.white,
                  alignment: Alignment.center,
                  child: Column(mainAxisAlignment: MainAxisAlignment.center,children: <Widget>[
                    Text("当前已是最新版本",style: TextStyle(fontSize: 17),),
                    Text("V0.0.6",style: TextStyle(fontSize: 13),)
                  ],),
                ),
              ),
            ),


          ],
        ),
    );
  }
}
